<script setup>
import { useRouter, useRoute } from "vue-router";

const route = useRoute();
const router = useRouter();
router.replace({
  name: "VoteHome",
  query: {
    ...route.query,
    pageType: "view",
    type: 'pc'
  },
});
</script>
